<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core"      
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:c="http://java.sun.com/jsp/jstl/core">
	
    <h:body>	
    	<ui:composition template="/user/template.xhtml">
    		 <h1>#{searchTeamBean.competionGUIDetail} - #{searchTeamBean.seasonGUIDetail}</h1>
             <h3>#{searchTeamBean.match.round}. kolo</h3> 
             <br />
             #{searchTeamBean.match.poznamka}
             <br />
             <div class="text">#{searchTeamBean.match.datum} - #{searchTeamBean.match.start} </div>
             <table class="tabulkaDetail">
                 <tr>
                     <td class="tymVlevo"><!-- <img src="../img/tym/slaviahk2.gif" /> --></td>
                     <td></td>
                     <td class="tymVpravo"><!-- <img src="../img/tym/olympia150.jpg" /> --></td>
                 </tr>
                 <tr>
                     <td class="tymVlevo">
                         <div class="nazevtymu">#{searchTeamBean.match.homeTeam.frontName}</div>
                         <c:forEach var="player" items="#{searchTeamBean.domaciStrelci}" >
			    		 	<div class="text">#{player}</div>
			    		 </c:forEach>
                     </td>
                     <td class="vs">
                         <div>vs.</div>
                     </td>
                     <td class="tymVpravo">
                         <div class="nazevtymu">#{searchTeamBean.match.awayTeam.frontName}</div>
                         <c:forEach var="player" items="#{searchTeamBean.hosteStrelci}" >
			    		 	<div class="text">#{player}</div>
			    		 </c:forEach>
                     </td>
                 </tr>
             </table>
             <div class="vysledek">#{searchTeamBean.match.homeTeamScore}:#{searchTeamBean.match.awayTeamScore}</div>
             <div class="polozkaDetail"><strong>Střelci:</strong></div>
             <table style="margin-top:10px;text-align:center;">
                 <tr>
                     <td style="width: 30%;">
	                     #{searchTeamBean.match.domaciStrelci}
                     </td>
                     <td style="width: 40%;"></td>
                     <td style="width: 30%;">
	                     #{searchTeamBean.match.hosteStrelci}
                     </td>
                 </tr>
             </table>
             <br />
             <br />
             <div class="polozkaDetail"><strong>Sestavy:</strong></div>
             <table style="margin-top:10px;text-align:center;">
                 <tr>
                     <td style="width: 30%;">
	                     #{searchTeamBean.match.domaciZaklSestava}
                     </td>
                     <td style="width: 40%;"></td>
                     <td style="width: 30%;">
	                     #{searchTeamBean.match.hosteZaklSestava}
                     </td>
                 </tr>
             </table>
             <br />
             <br />
             <div class="polozkaDetail"><strong>Karty:</strong></div>
                <table style="margin-top:10px;text-align:center;">                 
                 <tr>
                     <td style="width: 5%;">
	                     <img src="../img/tym/yellow_card.gif" />
                     </td>
                     <td style="width: 25%;">
	                     #{searchTeamBean.match.domaciZluteKarty}
                     </td>
                     <td style="width: 40%;"></td>
                     <td style="width: 5%;">
	                     <img src="../img/tym/yellow_card.gif" />
                     </td>
                     <td style="width: 25%;">
	                     #{searchTeamBean.match.hosteZluteKarty}
                     </td>
                 </tr>
                 <tr>  
                 	 <td style="width: 5%;">
	                     <img src="../img/tym/red_card.gif" />
                     </td>  
                     <td style="width: 25%;">
	                     #{searchTeamBean.match.domaciCerveneKarty}
                     </td>
                     <td style="width: 40%;"></td>
                     <td style="width: 5%;">
	                     <img src="../img/tym/red_card.gif" />
                     </td>
                     <td style="width: 25%;">
	                     #{searchTeamBean.match.hosteCerveneKarty}
                     </td>
                 </tr>
             </table>                         
             <br />
             <br />
             <div class="polozkaDetail"><strong>Komentář (domácí):</strong></div>
             <table style="margin-top:10px;text-align:left;">
                 <tr>
                     <td>
	                     #{searchTeamBean.match.domaciKomentar}
                     </td>
                 </tr>
             </table>
             <br />
             <br />
             <div class="polozkaDetail"><strong>Komentář (hosté):</strong></div>
             <table style="margin-top:10px;text-align:left;">
                 <tr>
                     <td>
	                     #{searchTeamBean.match.hosteKomentar}
                     </td>
                 </tr>
             </table>
             <br />
             <br />
             <div class="polozkaDetail"><strong>Diváků:</strong>#{searchTeamBean.match.pocetHracu}</div>
             <div class="polozkaDetail"><strong>Rozhodčí:</strong>#{searchTeamBean.match.mainReferee}</div>
    	</ui:composition>
	</h:body>
</html>